package com.my.mymafengwo.bean;

import java.util.List;

/**
 * ***********************************************
 * author:wgh
 * time:2015/12/4 20:56
 * copyright:
 * name:
 * step:
 * ***********************************************
 */
public class Mine {


    /**
     * rc : 0
     * rm :
     * is_array : 1
     * data : {"offset":20,"has_more":0,"list":[{"is_folded":0,"message":{"title":"蚂蜂窝酒店发红包，APP下单立减111元！","content":{"one_line":0,"text":"倒计时1天！境外蚂蜂窝专享酒店：泰国、港澳台、日韩热门目的地超多选择，超值折扣，贴心服务，靠谱放心！","image":{"url":"http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg","width":650,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://imfw.cn/l/840265","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}},{"is_folded":0,"message":{"title":"穷极一生只为睡到你","content":{"one_line":0,"text":"观赏最极致的美景需要搭配最好的酒店， 今天将向大家细数几家顶级的主题酒店； 和传统的豪华酒店不同， 这些逆天的建筑坐落于僻静的大自然中， 足以颠覆你对住宿的定义......","image":{"url":"http://file106.mafengwo.net/s8/M00/92/6B/wKgBpVYLlweAHiEEAAGDosGW21I33.jpeg","width":750,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://m.mafengwo.cn/nb/h5/topic.php?id=863","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}},{"is_folded":0,"message":{"title":"2999元就能去欧洲？是真的！","content":{"one_line":0,"text":"蚂蜂窝诚意奉献， 阿联酋航空欧洲机票超低价！ 米兰进，巴黎出， 体验世界最大机型，天天出发！","image":{"url":"http://file103.mafengwo.net/s8/M00/6B/68/wKgBpVYbQ4eAHmKeAAQP5rE_M7022.jpeg","width":750,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://www.mafengwo.cn/sales/343996.html","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}}]}
     */

    private int rc;
    private String rm;
    private int is_array;
    /**
     * offset : 20
     * has_more : 0
     * list : [{"is_folded":0,"message":{"title":"蚂蜂窝酒店发红包，APP下单立减111元！","content":{"one_line":0,"text":"倒计时1天！境外蚂蜂窝专享酒店：泰国、港澳台、日韩热门目的地超多选择，超值折扣，贴心服务，靠谱放心！","image":{"url":"http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg","width":650,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://imfw.cn/l/840265","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}},{"is_folded":0,"message":{"title":"穷极一生只为睡到你","content":{"one_line":0,"text":"观赏最极致的美景需要搭配最好的酒店， 今天将向大家细数几家顶级的主题酒店； 和传统的豪华酒店不同， 这些逆天的建筑坐落于僻静的大自然中， 足以颠覆你对住宿的定义......","image":{"url":"http://file106.mafengwo.net/s8/M00/92/6B/wKgBpVYLlweAHiEEAAGDosGW21I33.jpeg","width":750,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://m.mafengwo.cn/nb/h5/topic.php?id=863","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}},{"is_folded":0,"message":{"title":"2999元就能去欧洲？是真的！","content":{"one_line":0,"text":"蚂蜂窝诚意奉献， 阿联酋航空欧洲机票超低价！ 米兰进，巴黎出， 体验世界最大机型，天天出发！","image":{"url":"http://file103.mafengwo.net/s8/M00/6B/68/wKgBpVYbQ4eAHmKeAAQP5rE_M7022.jpeg","width":750,"height":420}},"ext":{"text":"点击进入 >>"}},"url":"http://www.mafengwo.cn/sales/343996.html","sender":{"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}}]
     */

    private DataEntity data;

    public void setRc(int rc) {
        this.rc = rc;
    }

    public void setRm(String rm) {
        this.rm = rm;
    }

    public void setIs_array(int is_array) {
        this.is_array = is_array;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getRc() {
        return rc;
    }

    public String getRm() {
        return rm;
    }

    public int getIs_array() {
        return is_array;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int offset;
        private int has_more;
        /**
         * is_folded : 0
         * message : {"title":"蚂蜂窝酒店发红包，APP下单立减111元！","content":{"one_line":0,"text":"倒计时1天！境外蚂蜂窝专享酒店：泰国、港澳台、日韩热门目的地超多选择，超值折扣，贴心服务，靠谱放心！","image":{"url":"http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg","width":650,"height":420}},"ext":{"text":"点击进入 >>"}}
         * url : http://imfw.cn/l/840265
         * sender : {"uid":0,"name":"","url":"","avatar":"http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png"}
         */

        private List<ListEntity> list;

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public void setHas_more(int has_more) {
            this.has_more = has_more;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public int getOffset() {
            return offset;
        }

        public int getHas_more() {
            return has_more;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private int is_folded;
            /**
             * title : 蚂蜂窝酒店发红包，APP下单立减111元！
             * content : {"one_line":0,"text":"倒计时1天！境外蚂蜂窝专享酒店：泰国、港澳台、日韩热门目的地超多选择，超值折扣，贴心服务，靠谱放心！","image":{"url":"http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg","width":650,"height":420}}
             * ext : {"text":"点击进入 >>"}
             */

            private MessageEntity message;
            private String url;
            /**
             * uid : 0
             * name :
             * url :
             * avatar : http://images.mafengwo.net/images/app_sys/ic_message_list_notice.png
             */

            private SenderEntity sender;

            public void setIs_folded(int is_folded) {
                this.is_folded = is_folded;
            }

            public void setMessage(MessageEntity message) {
                this.message = message;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public void setSender(SenderEntity sender) {
                this.sender = sender;
            }

            public int getIs_folded() {
                return is_folded;
            }

            public MessageEntity getMessage() {
                return message;
            }

            public String getUrl() {
                return url;
            }

            public SenderEntity getSender() {
                return sender;
            }

            public static class MessageEntity {
                private String title;
                /**
                 * one_line : 0
                 * text : 倒计时1天！境外蚂蜂窝专享酒店：泰国、港澳台、日韩热门目的地超多选择，超值折扣，贴心服务，靠谱放心！
                 * image : {"url":"http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg","width":650,"height":420}
                 */

                private ContentEntity content;
                /**
                 * text : 点击进入 >>
                 */

                private ExtEntity ext;

                public void setTitle(String title) {
                    this.title = title;
                }

                public void setContent(ContentEntity content) {
                    this.content = content;
                }

                public void setExt(ExtEntity ext) {
                    this.ext = ext;
                }

                public String getTitle() {
                    return title;
                }

                public ContentEntity getContent() {
                    return content;
                }

                public ExtEntity getExt() {
                    return ext;
                }

                public static class ContentEntity {
                    private int one_line;
                    private String text;
                    /**
                     * url : http://file104.mafengwo.net/s9/M00/51/11/wKgBs1ZADSCATFNfAAJNcM5rLuE44.jpeg
                     * width : 650
                     * height : 420
                     */

                    private ImageEntity image;

                    public void setOne_line(int one_line) {
                        this.one_line = one_line;
                    }

                    public void setText(String text) {
                        this.text = text;
                    }

                    public void setImage(ImageEntity image) {
                        this.image = image;
                    }

                    public int getOne_line() {
                        return one_line;
                    }

                    public String getText() {
                        return text;
                    }

                    public ImageEntity getImage() {
                        return image;
                    }

                    public static class ImageEntity {
                        private String url;
                        private int width;
                        private int height;

                        public void setUrl(String url) {
                            this.url = url;
                        }

                        public void setWidth(int width) {
                            this.width = width;
                        }

                        public void setHeight(int height) {
                            this.height = height;
                        }

                        public String getUrl() {
                            return url;
                        }

                        public int getWidth() {
                            return width;
                        }

                        public int getHeight() {
                            return height;
                        }
                    }
                }

                public static class ExtEntity {
                    private String text;

                    public void setText(String text) {
                        this.text = text;
                    }

                    public String getText() {
                        return text;
                    }
                }
            }

            public static class SenderEntity {
                private int uid;
                private String name;
                private String url;
                private String avatar;

                public void setUid(int uid) {
                    this.uid = uid;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getUid() {
                    return uid;
                }

                public String getName() {
                    return name;
                }

                public String getUrl() {
                    return url;
                }

                public String getAvatar() {
                    return avatar;
                }
            }
        }
    }
}
